package elion.com.theElion.fragmentMain;
//种质资源界面

import android.content.res.Resources;
import android.support.v4.app.Fragment;

import java.util.ArrayList;
import java.util.List;

import elion.com.elion.R;
import elion.com.theElion.fragmentLandData.QixiangDataFragment;
import elion.com.theElion.fragmentLandData.SoilDataFragment;

/**
 * Created on 2017/6/1.
 */

public class FamilyFragment extends MyTabFragment
{
    @Override
    public List<Fragment> setFragment() {
        List<Fragment> fragments = new ArrayList<>();
        QixiangDataFragment first = new QixiangDataFragment();
        SoilDataFragment second = new SoilDataFragment();
        fragments.add(first);
        fragments.add(second);
        return fragments;
    }

    @Override
    public String[] setTitles() {
        Resources res = getResources();
        String[] titles = res.getStringArray(R.array.FamilyKind);
        return titles;
    }

    @Override
    public void setting() {

    }

    @Override
    public void tabLayoutSetting() {

    }
}
